package com.liddhome.entity;

public class PageBean {

	private int currpage; // 第几页
	private int pageSize; // 每页记录数
	private int start;  // 起始页
	
	
	public PageBean(int currpage, int pageSize) {
		super();
		this.currpage = currpage;
		this.pageSize = pageSize;
	}
	
	
	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public int getStart() {
		return (currpage-1)*pageSize;
	}


	public int getCurrpage() {
		return currpage;
	}


	public void setCurrpage(int currpage) {
		this.currpage = currpage;
	}
	
	
}
